package com.hy.entity.pojo;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DetectDetail {

  @TableId
  @ExcelIgnore
  private Integer detailId;
  @ExcelProperty(value = "资产编码",order = 0)
  private String propertyCode;
  @ExcelProperty(value = "资产名称",order = 1)
  private String propertyName;
  @ExcelIgnore
  private Integer propertyTypeId;
  @ExcelIgnore
  private Integer useDeptId;
  @ExcelIgnore
  private Integer userId;
  @ExcelIgnore
  private Integer placeId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ExcelProperty(value = "购入日期",order =8 )
  private String gainDate;
  @ExcelIgnore
  private Integer upUserId;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @ExcelProperty(value = "上传日期",order = 9)
  private String upDate;
  @ExcelIgnore
  private Integer belongTaskId;
  @ExcelIgnore
  private Integer belongDetectId;
  @ExcelIgnore
  private Integer state;
  @ExcelIgnore
  private Integer unitId;
  @ExcelProperty(value = "图片",order = 10)
  private String  photo;



}
